package com.xiaomaoguai.hello;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

@Component
public class Lisi2Listener implements ApplicationListener<ContentEvent> {

	@Override
	public void onApplicationEvent(ContentEvent event) {
		System.out.println("我收到新的消息了:" + event.getSource());
	}

}
